package com.zc.designmodel.structural.bridge;

/**
 * @author: zhuCan
 * @date: 2020/4/12 16:50
 * @description:
 */
public class Circle extends Shape {
  private int x,y,radius;

  public Circle(DrawApi api,int x, int y, int radius){

    super(api);
    this.radius=radius;
    this.x=x;
    this.y=y;

  }
  @Override
  public void draw() {
    drawApi.drawCircle(radius,x,y);
  }
}
